/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title 手机客户端
 * @Description *
 * @Package designmodel.factorymodel.simpleFac.client
 * @date 2020/10/27 1:15 下午
 * @Copyright:学如逆水行舟，不进则退 .
 */
package designmodel.factorymodel.simpleFac.client;

import designmodel.factorymodel.simpleFac.factory.PhoneFactory;
import designmodel.factorymodel.simpleFac.model.Phone;

public class PhoneClient {
    public static void main(String[] args) {
        PhoneFactory phoneFactory = new PhoneFactory();
        Phone miphone = phoneFactory.makePhone("xiaomi");
        miphone.make();

        Phone iphone = phoneFactory.makePhone("apple");
        iphone.make();

    }
}
